package edu.zju.gis.dbfg.fileserver.mapper;

import edu.zju.gis.dbfg.common.base.BaseMapper;
import edu.zju.gis.dbfg.fileserver.model.LoaderMonitor;
import edu.zju.gis.dbfg.fileserver.model.vo.MonitorInfo;

import java.util.List;

public interface LoaderMonitorMapper extends BaseMapper<LoaderMonitor, String> {
    int deleteByPrimaryKey(String id);
    int insert(LoaderMonitor record);

    int insertSelective(LoaderMonitor record);

    LoaderMonitor selectByPrimaryKey(String id);

    LoaderMonitor selectByName(String name);
    int updateByPrimaryKeySelective(LoaderMonitor record);

    int updateByPrimaryKey(LoaderMonitor record);

    List<MonitorInfo> selectAll(String userId);
    List<MonitorInfo> selectAllFinish(String userId);
    LoaderMonitor watchStatus(String id);

}
